<#macro pageLeft page_tab="">
<aside class="main-sidebar">
    <!-- sidebar: style can be found in sidebar.less -->
    <section class="sidebar">
        <!-- Sidebar user panel -->
        <div class="user-panel">
            <div class="pull-left image">
                <img src="${baseUrl!}/static/AdminLTE/dist/img/user0-160x160.png" class="img-circle" alt="User Image">
            </div>
            <div class="pull-left info">
                <p>欢迎你,管理员</p>
                <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
            </div>
        </div>
        <!-- sidebar menu: : style can be found in sidebar.less -->
        <ul class="sidebar-menu">
            <li class="header">导航菜单</li>
            <li <#if page_tab="index"> class="active" </#if>>
                <a href="${baseUrl!}/admin/index">
                    <i class="fa fa-dashboard"></i> <span>首页</span>
                </a>
            </li>
            <li <#if page_tab="section"> class="active" </#if>>
                <a href="${baseUrl!}/admin/section">
                    <i class="fa fa-puzzle-piece"></i> <span>模块</span>
                </a>
            </li>
            <li <#if page_tab="label"> class="active" </#if>>
                <a href="${baseUrl!}/admin/label">
                    <i class="fa fa-tag"></i> <span>标签</span>
                </a>
            </li>
            <li <#if page_tab="topic"> class="active" </#if>>
                <a href="${baseUrl!}/admin/topic">
                    <i class="fa fa-th-list"></i> <span>话题</span>
                </a>
            </li>
            <li <#if page_tab="reply"> class="active" </#if>>
                <a href="${baseUrl!}/admin/reply">
                    <i class="fa fa-reply"></i> <span>回复</span>
                </a>
            </li>
            <li <#if page_tab="user"> class="active" </#if>>
                <a href="${baseUrl!}/admin/user">
                    <i class="fa fa-user"></i> <span>用户</span>
                </a>
            </li>
            <li <#if page_tab="link"> class="active" </#if>>
                <a href="${baseUrl!}/admin/link">
                    <i class="fa fa-link"></i> <span>友链</span>
                </a>
            </li>
            <li <#if page_tab="mission"> class="active" </#if>>
                <a href="${baseUrl!}/admin/mission">
                    <i class="fa fa-tasks"></i> <span>签到</span>
                </a>
            </li>
            <li>
                <a href="${baseUrl!}/admin/logout">
                    <i class="fa fa-sign-out"></i> <span>退出</span>
                </a>
            </li>
        </ul>
    </section>
    <!-- /.sidebar -->
</aside>
</#macro>